
<div class="row RowSpace" style="">
  <div class="LableDiv" style="width:50px;"><Btn class="BtnAdd" value="新增" ng-click="btnAdd()"></Btn></div>
  <div class="LableDiv" style="width:60px;"><Btn class="BtnDelete" value="删除" ng-click="btnDelete()"></Btn></div>
  <div class="LableDiv">
	<ModalBox Text="绑定作业" WindowTitle='绑定作业' beforeshow="btnFindWorks()" Enabled="{{Module.WorkLocation.FocusedRecord}}">
      <div class="row RowSpace">
        <DataGrid module="Module._Work" IsEdit="false" IsAutoLoad="false" height="400px">
            <Column Type="TextBox" DisplayName="编码" width="100px" ValueField="Code"></Column>
            <Column Type="TextBox" DisplayName="名称" width="100px" ValueField="Name"></Column>
        </DataGrid>
      </div>
    </ModalBox>
  </div>
</div>

<div class="row RowSpace LastRow">
  <DataGrid module="Module.WorkLocation" rowdblclick="rowDblClick()" isselect="true" isedit="false">
      <Column Type="TextBox" DisplayName="编码" width="150px" ValueField="Code"></Column>
      <Column Type="TextBox" DisplayName="名称" width="150px" ValueField="Name"></Column>
      <Column Type="TextBox" DisplayName="部门" width="150px" ValueField="Department.Name"></Column>
      <Column Type="CheckBox" DisplayName="多组共享" width="70px" ValueField="IsShared"></Column>
      <Column Type="CheckBox" DisplayName="生效" width="60px" ValueField="IsEffective"></Column>
      <Column Type="TextBox" DisplayName="备注" width="380px" ValueField="Remark"></Column>
  </DataGrid>
</div>
